<?php
/**
 * Popup to create a new contact partner of a medical study.
 * It will create the partner and reload the partner list in the medical study
 *
 */
use Fox\Html\Input;
use Fox\Html\Block;
use Fox\Html\Screen;

$callback = null;

$screen = new Screen('sPartner','create',null,true);
$block = new Block('bPartner');
$block->add(new Input('lname'));
$block->add(new Input('fname'));
$block->add(new Input('adress'));
$block->add(new Input('zipcode'));
$block->add(new Input('ciry'),2,'zipcode');
$screen->add($block);
if($screen->submitted())
{

}
$popup = new Popup("pPartner");
$popup->add($screen);
echo $popup->display();